-- Leviathan (c) v.v.balashoff
local Class = require('leviathan/Class')

local MouseWheelComponent = Class:derive('MouseWheelComponent')

function MouseWheelComponent:new(x, y, time)
    self.id = 'MouseWheelComponent'
    self.typeId = 'Input'
    self.drawable = false
    self.enabled = true
    -- Amount of horizontal mouse wheel movement.
    -- Positive values indicate movement to the right.
    self.x = x
    -- Amount of vertical mouse wheel movement.
    -- Positive values indicate upward movement.
    self.y = y
    self.time = time or love.timer.getTime()
end

return MouseWheelComponent
